﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using u = FinPlusUtility.Utility;

namespace Messaging2
{
    public interface ITransport
    {
        IListener Listener { get; }

        string Publish(IMessage message);

        void Listen(string topic, bool requestCache = false);

        void Dispose();
    }
}
